package models;

import play.db.jpa.Model;
import javax.persistence.*;
import java.util.*;
import play.data.validation.*;

@Entity
public class LineItem extends Model
{
	@ManyToOne
	public ClientOrder clientOrder;

	public String name;
	
	public String description;
	
	public Double price;
	
	public LineItem(String name, String description, Double price, ClientOrder clientOrder)
	{
		this.name = name;
		this.description = description;
		this.price = price;
		this.clientOrder = clientOrder;
	}
}